<h1>Editing campsite</h1>

<%= error_messages_for :campsite %>

<% form_for(@campsite) do |f| %>
  <p>
    <b>Camp location</b><br />
    <%= f.text_field :camp_location %>
  </p>

  <p>
    <b>Capacity</b><br />
    <%= f.text_field :capacity %>
  </p>

  <p>
    <b>Max stay</b><br />
    <%= f.text_field :max_stay %>
  </p>

  <p>
    <b>Walk</b><br />
    <%= f.text_field :walk_id %>
  </p>

  <p>
    <b>Fees</b><br />
    <%= f.text_field :fees_id %>
  </p>

  <p>
    <%= f.submit "Update" %>
  </p>
<% end %>

<%= link_to 'Show', @campsite %> |
<%= link_to 'Back', campsites_path %>
